package diva.pap.affiliate;

import diva.lib.json.JSONObject;

public class AffiliateTransactionRowData {

  private final JSONObject json;

  public AffiliateTransactionRowData(JSONObject json) {
    this.json = json;
  }

  public CharSequence getCampaignName() {
    return json.getString("campaign_name");
  }

  public CharSequence getCommision() {
    return json.getString("commision");
  }

  public String getCreated() {
    return json.getString("created");
  }

  public CharSequence getOrderId() {
    return json.getString("order_id");
  }

  public CharSequence getProductId() {
    return json.getString("product_id");
  }

  public CharSequence getStatus() {
    return json.getString("status");
  }
}
